﻿using System;
using OA.DBUtility;

namespace OA.Model
{
	/// <summary>
	/// Salary:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    [MappingTable("Salary")]
	public partial class SalaryInfo
	{
		public SalaryInfo()
		{}
		#region Model
		private int _id;
		private int? _employeeid;
		private decimal? _basicsalary;
		private decimal? _postsalary;
		private decimal? _yearsalary;
		private decimal? _performancebonus;
		private decimal? _yearbonus;
		private decimal? _projectbonus;
		private decimal? _othersalary;
		private decimal? _wagestandard;
		private decimal? _deductionsalary;
		private string _salaryadjustreason;
		/// <summary>
		/// 
		/// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("EmployeeId")]
		public int? EmployeeId
		{
			set{ _employeeid=value;}
			get{return _employeeid;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("BasicSalary")]
		public decimal? BasicSalary
		{
			set{ _basicsalary=value;}
			get{return _basicsalary;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("PostSalary")]
		public decimal? PostSalary
		{
			set{ _postsalary=value;}
			get{return _postsalary;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("YearSalary")]
		public decimal? YearSalary
		{
			set{ _yearsalary=value;}
			get{return _yearsalary;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("PerformanceBonus")]
		public decimal? PerformanceBonus
		{
			set{ _performancebonus=value;}
			get{return _performancebonus;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("YearBonus")]
		public decimal? YearBonus
		{
			set{ _yearbonus=value;}
			get{return _yearbonus;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("ProjectBonus")]
		public decimal? ProjectBonus
		{
			set{ _projectbonus=value;}
			get{return _projectbonus;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("OtherSalary")]
		public decimal? OtherSalary
		{
			set{ _othersalary=value;}
			get{return _othersalary;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("WageStandard")]
		public decimal? WageStandard
		{
			set{ _wagestandard=value;}
			get{return _wagestandard;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("DeductionSalary")]
		public decimal? DeductionSalary
		{
			set{ _deductionsalary=value;}
			get{return _deductionsalary;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("SalaryAdjustReason")]
		public string SalaryAdjustReason
		{
			set{ _salaryadjustreason=value;}
			get{return _salaryadjustreason;}
		}
		#endregion Model

	}
}

